﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userInfoEdit.aspx.cs" Inherits="PeisongWeb.admin.userInfoEdit" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register TagName="top" Src="controls/top.ascx" TagPrefix="uc1" %>
<%@ Register TagName="menu" Src="controls/menu.ascx" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>用户资料修改 - 想购网长期采购物流配送系统</title>
    <!--#include file="style.inc"-->
</head>
<body>
    <form id="form1" runat="server">
    <ext:ScriptManager ID="ScriptManager1" runat="server" />
    <uc1:top ID="Top1" runat="server" />
    <uc2:menu ID="Menu1" runat="server" />
    <div id="admin_main" style="margin: 10px 0 0 10px;">
        <ext:Panel ID="Panel2" runat="server" Title="用户资料修改" BodyStyle="padding:5px 5px 0"
            Width="650" Frame="true" ButtonAlign="Center">
            <Body>
                <ext:Panel ID="Panel3" runat="server">
                    <Body>
                        <ext:ColumnLayout ID="ColumnLayout1" runat="server">
                            <ext:LayoutColumn ColumnWidth=".5">
                                <ext:Panel ID="Panel4" runat="server" Border="false" Header="false">
                                    <Body>
                                        <div id="admin_edit_content">
                                            <ul>
                                                <li>
                                                    <label>
                                                        用户名</label>
                                                    <asp:TextBox runat="server" ID="txt_username" MaxLength="50"></asp:TextBox>
                                                </li>
                                                <li>
                                                    <label>
                                                        真实姓名</label>
                                                    <asp:TextBox runat="server" ID="txt_realname" MaxLength="50"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入真实姓名"
                                                        ControlToValidate="txt_realname" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </li>
                                                <li>
                                                    <label>
                                                        E-mail</label>
                                                    <asp:TextBox runat="server" ID="txt_email" MaxLength="50"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入E-mail"
                                                        ControlToValidate="txt_email" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txt_email"
                                                        Display="Dynamic" ErrorMessage="请输入有效的email地址" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                </li>
                                                <li>
                                                    <label>
                                                        手机号码</label>
                                                    <asp:TextBox runat="server" ID="txt_mobile" MaxLength="11"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="请输入手机号码"
                                                        ControlToValidate="txt_mobile" Display="Dynamic"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txt_mobile"
                                                        Display="Dynamic" ErrorMessage="请输入有效的手机号码" ValidationExpression="^13[0-9]{1}[0-9]{8}|^15[9]{1}[0-9]{8}"></asp:RegularExpressionValidator>
                                                </li>
                                                <li>
                                                    <label>
                                                        &nbsp;&nbsp;&nbsp;
                                                    </label>
                                                    <asp:Button runat="server" ID="btn_Save" Text="保 存" OnClick="btn_Save_Click" />
                                                    <input type="hidden" runat="server" id="hid_pwd" />
                                                    <input type="button" id="btn_Return" onclick="window.location.href='index.aspx'" value="返 回" /> 
                                                </li>
                                            </ul>
                                         </div>
                                    </Body>
                                </ext:Panel>
                            </ext:LayoutColumn>
                        </ext:ColumnLayout>
                    </Body>
                </ext:Panel>
            </Body>
        </ext:Panel>
    </div>
    </form>
</body>
</html>
